﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<System.DateTime?>" %>
<%=Html.Css("~/Scripts/jquery-datepicker/css/ui-lightness/jquery-ui-1.7.2.custom.css")%>
<%=Html.Script("~/Scripts/jquery-datepicker/js/jquery-ui-1.7.2.custom.min.js")%>
<%=Html.TextBoxFor(m => m, new { rel="datepicker"})%>

<script type="text/javascript">
    $(function() {
        $('input[rel^="datepicker"]').datepicker({
            defaultDate: 0,
            duration: 'fast'
        });
    });
    
</script>

